﻿<div>
    <!-- Block level -->
    <div class="row">
        <div class="col-2 text-truncate">
            Suspendisse faucibus, nunc et pellentesque egestas, lacus ante convallis tellus.
        </div>
    </div>

    <!-- Inline level -->
    <span class="d-inline-block text-truncate"
          style="max-width: 150px;">
        Suspendisse faucibus, nunc et pellentesque egestas, lacus ante convallis tellus.
    </span>
</div>